package com.matt.foundation.vo;

import com.matt.domain.ContractHistory;
import com.matt.domain.ContractProduct;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * *********************
 * description :合同Vo类
 * Created by Ron
 * from com.matt
 * on 2018/6/20 0020.
 * *********************
 */
@Data
public class ContractVo {

    //合同id
    private String id;

    //合同名称
    private String name;

    //合同编码
    private String code;

    //创建时间
    private Date created;

    //是否被删除
    private Boolean deleted = false;

    //开始时间
    private Date beginDate;

    //结束时间
    private Date endDate;

    //签单时间
    private Date signDate;

    //状态
    private Integer status;

    //状态值
    private String statusVal;

    private Integer payStatus;

    private String payStatusVal;

    //付款类型
    private Integer payType;

    //付款类型值
    private String payTypeVal;

    //付款方式
    private Integer payChannel;

    //付款方式值
    private String payChannelVal;

    //总金额
    private BigDecimal totalAmount;

    //支付金额
    private BigDecimal practicalAmount;

    //附件地址
    private String attachmentUrl;

    //客户id
    private String clienteleId;

    //所属园区
    private String areaId;

    //合同类型 1:托班，2：早教，3：托班+早教，4：其它
    private Integer type;

    //备注
    private String remark;

    //员工ID
    private String staffId;

    //创建人
    private String staffName;

    //中止原因
    private String breakDownReason;

    //中止备注
    private String breakDownRemark;

    //客户姓名
    private String clienteleName;

    //孩子系统姓名
    private String sysChildName;

    //孩子姓名
    private String childName;

    //产品名称
    private String productName;

    //合同对应的产品信息
   // private List<ContractProduct> contractProducts=new ArrayList<ContractProduct>();
    private List<ContractProductVo>  contractProducts=new ArrayList<ContractProductVo>();

    //合同变更日志
    private Integer surplusLeaveDay;

}
